Skip to content

Conversation

eleliauk
Copy link

@eleliauk eleliauk commented Sep 9, 2025

Migration to new Tavily tool:

  • All instances of TavilySearchResults have been replaced with TavilySearch, and imports now reference @langchain/tavily instead of @langchain/community/tools/tavily_search in the following files: quickstart.ipynb, chat_agent_executor_with_function_calling/base.ipynb, agent_executor/base.ipynb, rag/langgraph_adaptive_rag_local.ipynb, rag/langgraph_crag_mistral.ipynb, rewoo/rewoo.ipynb, and libs/langgraph/src/tests/tracing.int.test.ts. [1] [2] [3] [4] [5] [6] [7]

Tool initialization updates:

  • Tool initialization code has been updated to use new TavilySearch({ maxResults: N }) (where N varies by example), ensuring correct instantiation and parameter usage for the new tool. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Notebook and test consistency:

  • All example notebooks and integration tests now consistently use the updated Tavily tool, reducing confusion and potential errors when following documentation or running tests. [1] [2] [3] [4] [5]

No other functional changes were made; this PR is focused on tool migration and code consistency.

- replaced deprecated @langchain/community TavilySearchResults with @langchain/tavily
- updated package.json dependencies
- ensured TAVILY_API_KEY env config remains compatible
Copy link

changeset-bot bot commented Sep 9, 2025

⚠️ No Changeset found

Latest commit: c82fb4d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dqbd
Copy link
Collaborator

dqbd commented Sep 11, 2025

Thank you @eleliauk!

@dqbd dqbd enabled auto-merge (squash) September 11, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants